package com.rabbit.vo.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * <h1>后台登录请求封装</h1>
 *
 * @author zjw
 * @date 2022/1/13 14:42
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserLoginReq {

    /**
     * 登录账号
     */
    @NotNull(message = "登录账号不能为空")
    private String loginAccount;

    /**
     * 密码
     */
    @NotNull(message = "密码不能为空")
    private String password;

    /**
     * 验证码
     */
    @NotNull(message = "验证码不能为空")
    private String validCode;

    /**
     * 唯一标识
     */
    private String deviceId;

}
